<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<form method = "post"   action="/addCourse" >
    ID:<input type="text"   name="courseId" />
    课程名称:<input  type="text" name="courseName"  /><br />
    老师ID:<input type="number" name="teacherId"   /><br />
    <input type="submit" value="添加课程" />
</form>

</body>
</html>